package com.allwees.bs.module.lms.rest;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.allwees.bs.core.modelbase.vo.R;
import com.allwees.bs.module.core.rest.BoCrudApi;
import com.allwees.bs.module.lms.entity.LogisticsWaybill;
import com.allwees.bs.module.lms.req.query.LogisticWaybillQueryReq;
import com.allwees.bs.module.lms.service.LogisticWaybillService;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;
import org.springframework.web.bind.annotation.RestController;

/**
 *
 *
 * @author yangylsky
 * @since 2019-12-04
 *
 */
@RestController
@RequestMapping("/backstage/api/lms/logistic-waybill")
public class LogisticWaybillApi extends BoCrudApi<LogisticsWaybill, LogisticWaybillService> {
	@GetMapping("page")
    @ResponseBody
	public R page(Page<LogisticsWaybill> page, LogisticWaybillQueryReq req) {
		return super.page(page, req);
	}
}
